<?xml version="1.0"?>
<doc>
    <assembly>
        <name>JetBrains.Platform.ReSharper.DocumentManager</name>
    </assembly>
    <members>
        <member name="T:JetBrains.DocumentModel.DocumentBaseWithSolution">
            <summary>
            A flavor of <see cref="T:JetBrains.DocumentModel.Impl.DocumentBase"/> that is aware of project files and solutions and can thus implement additional checks.
            </summary>
        </member>
        <member name="F:JetBrains.DocumentModel.DocumentBaseWithSolution.Solution">
            <summary>
            Gets the solution this document belongs to, which is optional.
            </summary>
        </member>
        <member name="T:JetBrains.DocumentModel.DocumentManager">
            <summary>
            Manages file-based documents that are backed with <see cref="T:JetBrains.ProjectModel.IProjectFile"/>s.
            Simple in-memory documents can be created with <see cref="T:JetBrains.DocumentModel.DocumentFactory"/> and used independently of this class.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManager.EnsureWritable(JetBrains.DocumentModel.IDocument[])">
            <summary>
            <para>Get clearance for write access to the docment, for example, at the Source Code Control.</para>
            <para>You MUST scope file-based document modifications with this method.</para>
            <para>Prefer using <see cref="!:DocumentManagerExtensions.EnsureWritable_Success"/> and <see cref="M:JetBrains.DocumentModel.DocumentManagerExtensions.EnsureWritable(JetBrains.DocumentModel.DocumentManager,JetBrains.DocumentModel.IDocument,System.Action{JetBrains.Util.ModificationCookie})"/> where possible.</para>
            </summary>
            <param name="documents">The documents to clear for write access.</param>
            <returns>The cookie that must be disposed of immediately after you're done with writing to the document. You're only allowed to write while it's alive and if its <see cref="P:JetBrains.Util.ModificationCookie.EnsureWritableResult"/> is <see cref="F:JetBrains.Util.EnsureWritableResult.SUCCESS"/>.</returns>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManager.GetDocument(JetBrains.ProjectModel.IProjectFile)">
            <summary>
            Gets document by project item.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManager.GetProjectFile(JetBrains.DocumentModel.IDocument)">
            <summary>
            Gets project item by document item.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManager.GetUnsavedDocuments">
            <summary>
            Returns all unsaved documents.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManager.IsDocumentUnsaved(JetBrains.DocumentModel.IDocument)">
            <summary>
            Returns true if the specified document has not been saved since the last modification
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManager.SaveAllDocuments">
            <summary>
            Saves all documents 
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManager.SaveDocument(JetBrains.DocumentModel.IDocument)">
            <summary>
            Saves the specified document
            </summary>
        </member>
        <member name="E:JetBrains.DocumentModel.DocumentManager.AfterDocumentSaved">
            <summary>
            Raised after a document has been saved.
            </summary>
        </member>
        <member name="E:JetBrains.DocumentModel.DocumentManager.BeforeDocumentChanged">
            <summary>
            Fires before a document is modified.
            Aggregates the <see cref="E:JetBrains.DocumentModel.IDocument.BeforeDocumentChanged"/> event on all the documents.
            </summary>
        </member>
        <member name="E:JetBrains.DocumentModel.DocumentManager.BeforeDocumentReloaded">
            <summary>
            Raised before a document has been changed externally. The handlers of this event are given a chance to
            cancel the external change.
            </summary>
        </member>
        <member name="E:JetBrains.DocumentModel.DocumentManager.BeforeDocumentSaved">
            <summary>
            Raised before a document has been saved. The handlers of this event are given a chance to
            cancel save.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManagerExtensions.EnsureWritable(JetBrains.DocumentModel.DocumentManager,JetBrains.DocumentModel.IDocument,System.Action{JetBrains.Util.ModificationCookie})">
            <summary>
            Get clearance for write access to the docment, for example, at the Source Code Control.
            You MUST scope file-based-document modifications with this method.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentManagerExtensions.EnsureWritableSuccess(JetBrains.DocumentModel.DocumentManager,JetBrains.DocumentModel.IDocument,System.Action)">
            <summary>
            Get clearance for write access to the docment, for example, at the Source Code Control.
            Executes the <paramref name="FIfSucceeded"/> action only if the modification query succeeds (<see cref="P:JetBrains.Util.ModificationCookie.EnsureWritableResult"/> is <see cref="F:JetBrains.Util.EnsureWritableResult.SUCCESS"/>).
            You MUST scope file-based-document modifications with this method.
            </summary>
        </member>
        <member name="T:JetBrains.DocumentModel.DocumentRange">
            <summary>
            Text range in document
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.DocumentRange.ToString">
            <summary>
            Returns the fully qualified type name of this instance.
            </summary>
            <returns>
            A <see cref="T:System.String"/> containing a fully qualified type name.
            </returns>
            <filterpriority>2</filterpriority>
        </member>
        <member name="F:JetBrains.DocumentModel.Impl.DocumentManagerImpl.OptionDontAssertNonVsDocumentModifications">
            <summary>
            Limits <see cref="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.AssertOnFileBasedDocumentModification(JetBrains.DocumentModel.Impl.DocumentBase,JetBrains.ProjectModel.IProjectFile)"/> for legacy code.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.SynchronizeDocumentContentsWithFile(JetBrains.DocumentModel.IDocument)">
            <summary>
            Forces synchronizing the document with its content source.
            For standalone documents or VS documents not opened in the editor, these are external files.
            For open VS documents, this is the RDT document content.
            Requires a writer lock.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.CreateDocument(JetBrains.ProjectModel.IProjectFile)">
            <summary>
            Achtung! Creates a new document each time! Don't use but from <see cref="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.GetDocument(JetBrains.ProjectModel.IProjectFile)"/>.
            Implementation does not need to register in the project-file-to-document map.
            Mind that your document will normally be held on a weak ref.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.GetProjectFileSyncObject(JetBrains.ProjectModel.IProjectFile)">
            <summary>
            Gets an object to synchronize access to a project file.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.SynchronizeDocumentContentsWithFile_Standalone(JetBrains.DocumentModel.IDocument)">
            <summary>
            Implements the standalone case for <see cref="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.SynchronizeDocumentContentsWithFile(JetBrains.DocumentModel.IDocument)"/>.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.AssertOnFileBasedDocumentModification(JetBrains.DocumentModel.Impl.DocumentBase,JetBrains.ProjectModel.IProjectFile)">
            <summary>
            When a file-based document is modified, asserts that it's allowed.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.GetDocument(JetBrains.ProjectModel.IProjectFile)">
            <summary>
            Gets document by project item.
            </summary>
        </member>
        <member name="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.JetBrains#ComponentModel#IComponent#Init">
            <summary>
            <para>Initializes the component. Called by the component container after the component is created.</para>
            <para><see cref="M:System.IDisposable.Dispose"/> is the pairing method that's guaranteed to be called by the component container to tear down your component.</para>
            <para>You must not access other components before your <see cref="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.Init"/> method is called.</para>
            <para>All of the components that you access from <see cref="M:JetBrains.DocumentModel.Impl.DocumentManagerImpl.Init"/> are guaranteed to exist when your <see cref="M:System.IDisposable.Dispose"/> is called. Any other component might be missing by that time, and trying to get it will throw an exception.</para>
            </summary>
        </member>
        <member name="T:JetBrains.DocumentModel.IProjectFileRangeMarker">
            <summary>
            Represents a common interface for range markers in project files
            </summary>
        </member>
        <member name="P:JetBrains.DocumentModel.IProjectFileRangeMarker.Range">
            <summary>
            Gets the current text range corresponding to the range marker
            </summary>
        </member>
        <member name="P:JetBrains.DocumentModel.IProjectFileRangeMarker.ProjectFile">
            <summary>
            Gets the associated document
            </summary>
        </member>
        <member name="P:JetBrains.DocumentModel.IProjectFileRangeMarker.IsValid">
            <summary>
            Gets a value indicating whether the range marker is valid
            </summary>
        </member>
        <member name="P:JetBrains.DocumentModel.IProjectFileRangeMarker.IsGreedyToLeft">
            <summary>
            Indicates whether the range market is greedy to left
            </summary>
        </member>
        <member name="P:JetBrains.DocumentModel.IProjectFileRangeMarker.IsGreedyToRight">
            <summary>
            Indicates whether the range market is greedy to right
            </summary>
        </member>
        <member name="E:JetBrains.DocumentModel.IProjectFileRangeMarker.Changed">
            <summary>
            Raised when Range has been changed due to changes in document
            </summary>
        </member>
    </members>
</doc>
